import request from '@/utils/request.js'

// http://localhost:4000/search_shops?keyword=test&geohash=40.10038,116.36867
// 根据经纬度和关键字搜索商铺列表
export function searchShopsApi(data) {
    return request({
        url: '/api/search_shops?geohash='+data.latitude+','+data.longitude+'&keyword='+data.keyword,
        method: 'get'
    })
}